package com.jsoft.entity;

import java.io.Serializable;

/**
 * 企业表对应的实体类
 *
 * @author snkstart
 * @create 2023-02-20 19:00
 */
public class Enterprise implements Serializable {
    private static final long serialVersionUID = 9187059288063986579L;
    private int id;
    private String name;
    private String socialUniformCode;
    private String email;
    private String phone;
    private String fax;

    public Enterprise() {
    }

    public Enterprise(int id, String name, String socialUniformCode, String email, String phone, String fax) {
        this.id = id;
        this.name = name;
        this.socialUniformCode = socialUniformCode;
        this.email = email;
        this.phone = phone;
        this.fax = fax;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSocialUniformCode() {
        return socialUniformCode;
    }

    public void setSocialUniformCode(String socialUniformCode) {
        this.socialUniformCode = socialUniformCode;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    @Override
    public String toString() {
        return "Enterprise{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", socialUniformCode='" + socialUniformCode + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", fax='" + fax + '\'' +
                '}';
    }
}
